package com.touna.thread;

/**
 * author: xl
 * time: 2018/9/28 16:17
 * description:
 **/
public class CrawlerTest implements Runnable {


    int num ;
    public CrawlerTest(int num){
        num =0 ;
    }


    @Override
    public void run() {

        if(num<5){
            num++;
        }else {
            return ;
        }

        System.out.println("test");

    }
}
